home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20031118-20041115
/
000016_fdc@columbia.edu_Tue Nov 25 09:58:30 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2004-11-14
|
2KB
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Problem in Kermit trying to get a file while sending it at the same time
Date: 25 Nov 2003 14:54:42 GMT
Organization: Columbia University
Lines: 40
Message-ID: <slrnbs6r9i.oig.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311250532.1b93aad@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1069772082 26064 128.59.59.56 (25 Nov 2003 14:54:42 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 25 Nov 2003 14:54:42 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14692
In article <f0bb0f39.0311250532.1b93aad@posting.google.com>,
newexpectuser wrote:
: I ran across this error as the scenerio describes. Both are trying to
: connect using SSH and CKERMIT.
:
: I am running a Kermit script called DROPOFF trying to send TESTFILE to
: a remote server (it is a 2meg file) at the same time I am running a
: Kermit PICKUP trying to mget files (including the TESTFILE) from this
: same server in the same directory.
:
: What is happening is, PICKUP ends first and has a partial file of
: TESTFILE and DROPOFF gets 74% done (according to Kermit) and then
: comes back with the error message "Last error: FAILURE: Error writing
: data" and it keeps around the partial file (74% of it).
:
: I'm not sure why this is happening and how to avoid it. It is a
: realtime scenerio where somebody may be dropping off a file in a
: directory, while the other script is trying to get all the files out
: of this directory.
:
You answered your own question:
: I am running a Kermit script called DROPOFF trying to send TESTFILE to
: a remote server (it is a 2meg file) at the same time I am running a
: Kermit PICKUP trying to mget files (including the TESTFILE) from this
: same server in the same directory.
The server does not have permission to write to a file that another
process has open for reading. Nor would you want it to! Please read
about transaction processing here:
http://www.columbia.edu/kermit/case10.html
and here:
http://www.columbia.edu/kermit/ftpscripts.html#tp
to see the kinds of things you need to do.
- Frank